package com.runvp.common.enums;


/**
 * 订单类型 (ordinary:普通订单,special:特殊订单)
 * @author xukk_dp
 */

public enum OrderType implements BaseEnumInterface {

    ORDINARY("ordinary", "普通订单"),
    SCORE("score", "积分订单"),
    CLOUD_CARD("cloudCard", "云卡订单"),
    SPECIAL("special", "特殊订单");

    private final String code;
    private final String desc;
    private String defaulted;

    @Override
    public String getDefaulted() {
        return defaulted;
    }


    OrderType(String code, String desc, String defaulted) {
        this.code = code;
        this.desc = desc;
        this.defaulted = defaulted;
    }


    OrderType(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }


    @Override
    public String getCode() {
        return code;
    }
    @Override
    public String getDesc() {
        return desc;
    }
}
